package com.zhyl.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BackConsultations {
    private Integer id;

  /**
   * 保存的对应预约的保存的记录
   */
  private Integer appointmentId;
    /**
     * 问诊名
     */
    private String consultName;
    /**
     * 症状描述
     */
    private String symptoms;
    /**
     * 诊断结果
     */
    private String diagnosis;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date consultationTime;
}
